define(['./controllers'], function (controllers) {
    'use strict';
    controllers.controller('messageCtrl', ['$scope', '$modalInstance','title','info',
        function ($scope, $modalInstance,title,info) {
            $scope.message_title = title;
            $scope.message_info = info;
            //点确认按钮关闭
            $scope.ok = function () {
                $modalInstance.close();
            };
            //取消按钮
            $scope.cancelModal = function () {
                $modalInstance.dismiss('cancel');
            };
        }]);

})
